﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shumei.EFCore.Model
{
    /// <summary>
    /// 学生作品展示
    /// </summary>
    public class Product
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }

        public string Author { get; set; }

        public int ProductTypeId { get; set; }
        public virtual ProductType ProductType{get;set;}
        public string Content { get; set; }

        public DateTime UploadTime { get; set; }

    }
}
